package team02.server.exception;

public class ParserException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final int SYNTAX_ERROR = 1;
	public static final int SEMANTIC_ERROR = 2;
	private int exceptionType;

	public ParserException(int syntaxError, String message) {
		super(message);
		this.exceptionType = syntaxError;
	}

	public int getExceptionType() {
		return exceptionType;
	}
}
